package com.nuoniu.sibanyun.entity.bo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("计算累计送检数量 明细数据")
public class QualityCheckSourceDetailBo extends BaseEntity {

    @ApiModelProperty(value = "来源单id")
    private Integer sourceDetailId;

    @ApiModelProperty(value = "单据id")
    @TableField("order_id")
    private Integer orderId;

    @ApiModelProperty(value = "物料id")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "物料名称")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "本次 报检数量")
    @TableField("base_quantity")
    private BigDecimal baseQuantity;

    @ApiModelProperty(value = "上次 报检数量")
    private BigDecimal lastBaseQuantity = new BigDecimal(0);

}
